/***************
** PAGE LAYOUT
***************/

body {
	margin: 0px;
	padding: 0px;
	background: #242424;
	color: #999999;
	font-style:normal; font-variant:normal; font-weight:normal; line-height:15px; font-size:14px; font-family:Lucida Grande, sans-serif;
}
#wrap {
	width: 800px;
	overflow: hidden;
	position:relative;
	margin: 0px auto;
    background: #2d2d2d;
}
#content {
	width: 550px;
	float: left;
	display:inline;
	text-align: justify;
	padding: 1px;
	padding-top: 6px;
	margin: 8px;
	margin-top: 12px;
}
#nav {
	height: 49px;
	width: 790px;
	margin-right: auto;
	margin-left: auto;
}

#sidebar {
	width: 200px;
	float: right;
	line-height: 1.5em;
	display:inline;
	margin: 8px 8px 8px 0px;
	padding: 10px;
	font-size:10px;
}
#pages h1{
	margin:0px;
	padding:0px;
}
#pages h1 a{
	text-transform:uppercase;
	text-decoration:none;
	color:#999;
	font: 18px Arial, Helvetica, sans-serif;
	margin:0px;
	padding:13px 0px 0px 10px;
	letter-spacing: -1px;
	float: left;
	line-height: 1.2em;
}
#pages h1 a:hover{
	text-decoration:underline;
}

#logo {
	background: url('../images/top.png') no-repeat;
	height: 200px;
	width: 800px;
	margin-right: auto;
	margin-left: auto
	}
#tagline {
	height: 20px;
	text-align: right;
	margin-top: -30px;
	margin-right: 25px;
	font-size: 12px;
	font-weight: bold;
	text-transform: uppercase;
	color: #FFFFFF;
}
div#pages {
	height: 40px;
	margin: 0px auto 0px;
	width:800px;
    background: #2d2d2d;

}

div#pages ul {
	padding: 10px 0px 0px;
	white-space: nowrap;
	list-style-type: none;
	margin: 0px;	
}
div#pages ul li {
	float:right;
}

div#pages ul li.current_page_item a  {
	text-decoration: underline;
}
div#pages ul li a {
	display: block;
	text-decoration: none;
    border-left: 1px dotted #333;
	font-size:14px;
	padding:5px 10px 5px 10px;
	text-transform: uppercase;
	color: #999999;
}
div#pages ul li a:hover {
	color: #ffffff;
}

#footer {
	clear: both;
	text-align: center;
	border-top-width: 1px;
	border-top-style: dotted;
	border-top-color: #666;
	width: 774px;
	padding: 0px;
	margin-right: auto;
	margin-left: auto;
}
#footer p{
	padding:10px;
	margin:0px;
}

#sidebar h2 {
	color: #999;
	margin-top: 5px;
	margin-right: 0px;
	margin-bottom: 8px;
	padding-top: 0px;
	padding-right: 0px;
	padding-bottom: 4px;
	padding-left: 0px;
	border-bottom: 1px solid #ccc;
	font-size: 10px;
	font-weight: bold;
	text-transform: uppercase;
}
#sidebar ul {
	list-style: none;
	margin: 0 0 20px 0;
	padding: 0;
}

#sidebar ul li {
	display: inline;
	margin:0;
	padding:0
}
#sidebar li{
	list-style: none;

}

#sidebar ul li a {
	border-bottom: 1px dotted #666;
	/*color: #7fbfbf;*/
	color: #39c;
	display: block;
	text-decoration: none !important;
	margin-left: 0px;
	padding-top: 4px;
	padding-right: 0px;
	padding-bottom: 4px;
	padding-left: 25px;
	background-image: url('../images/navbulle.gif');
	background-repeat: no-repeat;
	background-position: 10px 50%
}


#sidebar ul li a:hover{
	/*color: #7fbfbf;*/
	color: #39c;
	background-color: #666;
}

#sidebar .important_links {
	font-size:14px;
}

/***************
** PAGE ELEMENTS
***************/

table#more_info_links td a {
	color: white;
	width: 440px;
}

table#team_info {
	border: 1px solid white;
	background: #111;
}

table#team_info td {
	border-top: 1px solid #ddd;
	border-left: 1px solid #ddd;
	border-right: 1px solid #999;
	border-bottom: 1px solid #999;
	margin: 0;
	padding: 4px;
	background: #333;
}

#searchdiv {
	margin-top: 8px;
	margin-bottom: 15px;
}

.biginput {
	font-size: 1.5em;
}

img {
	border: 0;
}

/**************
** Text Styling
**************/

h3, h4 {
	padding-top: 5px;
	padding-bottom: 5px;
}

h1, h1 a {
	color: #39c;
	font: Arial, Helvetica, sans-serif;
	line-height: 1em;
}

h2 {
	line-height: 1em;
}

li {
	margin: 0 0 3px 2em;
}

li a {
	color: white;
}

a {
	color: #39c;
}

input {
	color: white;
	background-color: #555;
	border: 1px dashed white;
	padding: 2px;
}

.back {
	font-size: 12px;
	color: white;
}

.downloadlink {
	font-size: 8px;
	color: white;
}

td.title_td {
	font-weight: bold;
	text-align: center;
}

td.block_link {
	width: 220px;
	height: 79px;
	padding-left: 80px;
	color: white;
}

td.info_link {
	background: url('../images/info_back.png') no-repeat;
}

td.photo_link {
	background: url('../images/photo_back.png') no-repeat;
}

td.attendees_link {
	background: url('../images/robot_back.png') no-repeat;
}

td.matchresults_link {
	background: url('../images/clipboard_back.png') no-repeat;
}

/* This stuff mostly formats the "teams and scores" box on the match.php page */

.leftfloat {
	float: left;
	margin: 0 30px 0 10px;
	width: 80px;
	font-size: 10px;
}

.leftfloat a {
	color: white;
	text-decoration: none;
}

.matchteams {
	padding: 0;
	border: 2px solid white;
	text-align: center;
	font-size: 12px;
}

.matchteams tr td {
	border: 1px solid white;
	padding: 5px;
	color: black;
}

.matchteams tr td a {
	color: black;
}

.matchteams .red {
	background: #ff7777;
}

.matchteams .redteamname{
	background: #ff4444;
	font-weight: bold;
}

.matchteams .blue {
	background: #7777ff;
}
.matchteams .blueteamname {
	background: #4444ff;
	font-weight: bold;
}

.matchscore {
	background: white;
	font-weight: bold;
}

.brackettable {
	border: 2px solid black;
	margin: 0 auto 0 auto;
}

.brackettable .header {
	background: #999;
	color: black;
	font-size: 18px;
	font-weight: bold;
	padding: 4px;
}

.brackettable tr td {
	padding: 3px 10px;
	border: 1px solid black;
	text-align: center;
	background-color: #555;
}

.brackettable .winnerL {
	background-image: url(../images/advancedR.png);
	background-position: center right;
	background-repeat: no-repeat;
	background-color: #777;
	padding-right: 15px;
}

.brackettable .winnerR {
	background-image: url(../images/advancedL.png);
	background-position: center left;
	background-repeat: no-repeat;
	background-color: #777;
	padding-left: 15px;
}

.brackettable .winnerC {
	background-image: url(../images/firstplace.png);
	background-position: center 15px;
	background-repeat: no-repeat;
	background-color: #777;
	padding-top: 25px;
}

.brackettable .secondC {
	background-image: url(../images/secondplace.png);
	background-position: center 15px;
	background-repeat: no-repeat;
	background-color: #666;
	padding-top: 25px;
}

.brackettable tr td a {
	color: black;
}

.smaller {
	font-size: smaller;
}

.MapLegendTable a {
	color: black;
}

.MapBottomText {
	margin-left: 20px;
	font-size: 12px;
	font-weight: bold;
	font-family: arial, tahoma ms, sans serif;
	width: 400px;
}

table.table_alt td {
	padding: 3px;
	margin: 3px;
	color: #000;
}

table.table_alt tr.extra_big {
	font-size: 2em;
	height: 2em;
}

table.table_alt tr.table_toprow td {
	font-weight: bold;
	padding: 5px;
	margin: 5px;
	background: #111;
	color: #fff;
	text-align: center;
}

table.table_alt tr.table_toprow td img {
	vertical-align: middle;
}

tr.table_row0 td {
	background: #888;
}

tr.table_row1 td {
	background: #aaa;
}

td.redcell{
	border: 1px solid #ff4444;
	padding: 2px;
	color: #000;
}

td.bluecell {
	border: 1px solid #4444ff;
	padding: 2px;
	color: #000;
}

tr td.redscorecell {
	color: #fff;
	background: #cc2222;
}

tr td.bluescorecell {
	color: #fff;
	background: #2222cc;
}

.table_alt td a {color: #000;}

table.table_alt {
	border: 2px solid #555;
	text-align: center;
}